﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dominion.Core;

namespace Dominion.Core
{
    public class CellarBehavior : Behavior
    {
       

        public override void Run(Player player)
        {
            foreach (Card c in player.CardsToAction.CellarCardsToAction)
            {
                player.Cards.DiscardCard(c);
                player.Cards.DrawCard();
            }
        }

       
    }
}
